package com.pay.manager.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pay.manager.pojo.BaseAdminRole;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Repository
public interface BaseAdminRoleMapper  extends BaseMapper<BaseAdminRole> {

    List<BaseAdminRole> getRoleList();

    List<BaseAdminRole> getRoles();

    int updateRole(BaseAdminRole role);

    int updateRoleStatus(@Param("id") Integer id,@Param("roleStatus") Integer roleStatus);

}